<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=0">
    <title>我的缴费记录</title>
    <!-- 引入 WeUI -->
    <link rel="stylesheet" href="http://jxt.anan365.com/jiaofei/Public/weui-1.1.2/dist/style/weui.css"/>
</head>
<body ontouchstart>
<div class="page__hd">
    <h1 class="page__title" style="font-size: 18px;text-align: center;margin-top:20px">我的缴费记录</h1>
</div>
<div class="page__bd">
    <?php if(!$list){ ?>
    <div class="weui-cells">
        <div class="weui-cell">
            <div class="weui-cell__bd" style="text-align: center;">
                <p>您还有任何缴费记录！</p>
            </div>
        </div>
    </div>
    <?php } ?>
    <?php foreach($list as $k=>$v){ ?>
    <div class="weui-cells__title" style="margin-top:40px"><a href="#">订单号: <?php echo $v['FOrderId'];?></a></div>
    <div class="weui-cells">
        <div class="weui-cell">
            <div class="weui-cell__bd">
                <p>支付状态</p>
            </div>
            <div class="weui-cell__ft">
                <?php if($v['FType']==1){ ?>
                    <span style="">未支付</span>
                <?php }elseif($v['FType']==2){ ?>
                    <span style="color:green">已支付</span>
                <?php }else{ ?>
                    <span style="">已取消</span>
                <?php } ?>
            </div>
        </div>
        <div class="weui-cell">
            <div class="weui-cell__bd">
                <p>支付金额</p>
            </div>
            <div class="weui-cell__ft"><?php echo $v['FMoney']/100;?> 元</div>
        </div>
        <?php if($v['FType']==2){ ?>
        <div class="weui-cell">
            <div class="weui-cell__bd">
                <p>支付时间</p>
            </div>
            <div class="weui-cell__ft"><?php echo date('Y-m-d H:i:s',$v['FPayTime']);?></div>
        </div>
        <?php } ?>
    </div>
    <?php } ?>


</div>
</body>
</html>
